﻿<?xml version="1.0" encoding="utf-8"?>
<Elements
    xmlns="http://schemas.microsoft.com/sharepoint/"
    Id = "{43F53AE7-A4CB-49f1-A6D6-1BC48BDDDCE3}"
  >
  <CustomAction
      Id="Eneta.Portal.UiActions.DocumentListReport"
      Location="Microsoft.SharePoint.StandardMenu"
      GroupId="ActionsMenu"
      RequireSiteAdministrator="FALSE"
      Sequence="106"
      RegistrationType="List"
      Title="Download as Excel File">
    <UrlAction
        Url="javascript:document.location.href=ctx.HttpRoot+'/_layouts/Eneta.Portal.UiActions/DownloadAsExcel.aspx?list='+ ctx.listName +'&amp;view=' + ctx.view;" />
  </CustomAction>
  <CustomAction
    Id="Eneta.Portal.UiActions.DocumentListReport2"
    Location="Microsoft.SharePoint.StandardMenu"
    GroupId="ActionsMenuForSurvey"
    RequireSiteAdministrator="FALSE"
    Sequence="107"
    RegistrationType="List"
    Title="Download survey as Excel File">
    <UrlAction
        Url="javascript:document.location.href=ctx.HttpRoot+'/_layouts/Eneta.Portal.UiActions/DownloadAsExcel.aspx?list='+ ctx.listName +'&amp;view=' + ctx.view;" />
  </CustomAction>
</Elements>